package com.hystrix.collapser;

import feign.Headers;
import feign.RequestLine;

/**
 * person请求
 * Created by earl on 2018/5/2.
 */
public interface PersonClient {

    /**
     * 请求路径为 /personSaveJson/
     * application/json格式提交数据
     */
    @RequestLine("POST /personList")
    @Headers(value = "Content-Type: application/json")
    String personList(String [] personNames);

}
